import Cookies from 'js-cookie'

export default {
  get (key) {
    const newKey = process.env.PREFIX + key

    return Cookies.get(newKey)
  },
  set (key, value, attributes) {
    const newKey = process.env.PREFIX + key

    return Cookies.set(newKey, value, attributes)
  },
  remove (key, attributes) {
    const newKey = process.env.PREFIX + key

    return Cookies.remove(newKey, attributes)
  }
}
